from typing import Optional
from pydantic import BaseModel
import uuid

class ChatRequestBody(BaseModel):
    message: str
    thread_id: Optional[str] = str(uuid.uuid4())